package lab04.test03;

public class PrintA extends Thread {
    @Override
    public void run() {

        while (true) {
            System.out.println("A");
            //等一秒
            /*try {
                Thread.sleep(1000);//1秒=1000毫秒
            } catch (InterruptedException e) {
                e.printStackTrace();
            }*/
        }
    }
}